package club.justwill.single.bean;

import club.justwill.single.persistence.jpo.Skus;

/**
 * Created by xiangnan on 15-12-27.
 */
public class SkusResp {
    private String skuId;
    private String number;
    private String name;
    private String unitPrice;
    private String realPrice;
    private String earnings;
    private String skuUrl;
    private String dispatchPrice;
    private String maxPeople;

    public SkusResp() {}
    public SkusResp(Skus sku) {
        this.skuId = sku.getSkusId()+"";
        this.number = sku.getNumber()+"";
        this.name = sku.getName();
        this.unitPrice = sku.getUnitprice()+"";
        this.realPrice = sku.getRealPrice()+"";
        this.earnings = sku.getEarnings();
        this.skuUrl = sku.getSkuUrl();
        this.dispatchPrice = sku.getDispatchPrice()+"";
        this.maxPeople = sku.getMaxPeople()+"";
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(String unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(String realPrice) {
        this.realPrice = realPrice;
    }

    public String getEarnings() {
        return earnings;
    }

    public void setEarnings(String earnings) {
        this.earnings = earnings;
    }


    public String getSkuUrl() {
        return skuUrl;
    }

    public void setSkuUrl(String skuUrl) {
        this.skuUrl = skuUrl;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getDispatchPrice() {
        return dispatchPrice;
    }

    public void setDispatchPrice(String dispatchPrice) {
        this.dispatchPrice = dispatchPrice;
    }

    public String getMaxPeople() {
        return maxPeople;
    }

    public void setMaxPeople(String maxPeople) {
        this.maxPeople = maxPeople;
    }

}
